<template>
  <div>
    <header-top>
      <a class="header_center" slot="center">
        限时优惠
      </a>
    </header-top>
    <div class="msite_content_shop_list">
      <div class="msite_content_shop_tip">
        所有限时优惠到店即可自动享受
      </div>
      <div class="msite_content_shop">
        <div class="msite_content_shop_header">
          <flexbox>
            <flexbox-item :span="10">
              <div>
                经典经典 连锁机构连锁机构
              </div>
            </flexbox-item>
            <flexbox-item :span="2">
              <div>
                <img src="../../assets/images/icon_weizhi.png" style="width:8px;height: 12px;"/>
                <span style="color: #a0a0a0;font-size: 14px;">8.6km</span>
              </div>
            </flexbox-item>
          </flexbox>
        </div>
        <div class="msite_content_shop_content">
          <flexbox>
            <flexbox-item :span="4.5">
              <img class="msite_content_shop_img" src="../../assets/images/storeimage.png" style=""/>
            </flexbox-item>
            <flexbox-item :span="7">
              <div class="margin_top__10">
                <span class="font_color_14">日期：</span>
                <span class="font_color_16">2015-04-01</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">时段：</span>
                <span class="font_color_16">09:00 至 22:00</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">详情：</span>
                <span class="font_color_16" style="line-height: 20px;">美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限</span>
              </div>
            </flexbox-item>
          </flexbox>
          <p class="line"/>
        </div>
      </div>
      <div class="msite_content_shop">
        <div class="msite_content_shop_header">
          <flexbox>
            <flexbox-item :span="10">
              <div>
                经典经典 连锁机构连锁机构
              </div>
            </flexbox-item>
            <flexbox-item :span="2">
              <div>
                <img src="../../assets/images/icon_weizhi.png" style="width:8px;height: 12px;"/>
                <span style="color: #a0a0a0;font-size: 14px;">8.6km</span>
              </div>
            </flexbox-item>
          </flexbox>
        </div>
        <div class="msite_content_shop_content">
          <flexbox>
            <flexbox-item :span="4.5">
              <img class="msite_content_shop_img" src="../../assets/images/storeimage.png" style=""/>
            </flexbox-item>
            <flexbox-item :span="7">
              <div class="margin_top__10">
                <span class="font_color_14">日期：</span>
                <span class="font_color_16">2015-04-01</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">时段：</span>
                <span class="font_color_16">09:00 至 22:00</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">详情：</span>
                <span class="font_color_16" style="line-height: 20px;">美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限</span>
              </div>
            </flexbox-item>
          </flexbox>
          <p class="line"/>
        </div>
      </div>
      <div class="msite_content_shop">
        <div class="msite_content_shop_header">
          <flexbox>
            <flexbox-item :span="10">
              <div>
                经典经典 连锁机构连锁机构
              </div>
            </flexbox-item>
            <flexbox-item :span="2">
              <div>
                <img src="../../assets/images/icon_weizhi.png" style="width:8px;height: 12px;"/>
                <span style="color: #a0a0a0;font-size: 14px;">8.6km</span>
              </div>
            </flexbox-item>
          </flexbox>
        </div>
        <div class="msite_content_shop_content">
          <flexbox>
            <flexbox-item :span="4.5">
              <img class="msite_content_shop_img" src="../../assets/images/storeimage.png" style=""/>
            </flexbox-item>
            <flexbox-item :span="7">
              <div class="margin_top__10">
                <span class="font_color_14">日期：</span>
                <span class="font_color_16">2015-04-01</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">时段：</span>
                <span class="font_color_16">09:00 至 22:00</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">详情：</span>
                <span class="font_color_16" style="line-height: 20px;">美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限</span>
              </div>
            </flexbox-item>
          </flexbox>
          <p class="line"/>
        </div>
      </div>
      <div class="msite_content_shop">
        <div class="msite_content_shop_header">
          <flexbox>
            <flexbox-item :span="10">
              <div>
                经典经典 连锁机构连锁机构
              </div>
            </flexbox-item>
            <flexbox-item :span="2">
              <div>
                <img src="../../assets/images/icon_weizhi.png" style="width:8px;height: 12px;"/>
                <span style="color: #a0a0a0;font-size: 14px;">8.6km</span>
              </div>
            </flexbox-item>
          </flexbox>
        </div>
        <div class="msite_content_shop_content">
          <flexbox>
            <flexbox-item :span="4.5">
              <img class="msite_content_shop_img" src="../../assets/images/storeimage.png" style=""/>
            </flexbox-item>
            <flexbox-item :span="7">
              <div class="margin_top__10">
                <span class="font_color_14">日期：</span>
                <span class="font_color_16">2015-04-01</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">时段：</span>
                <span class="font_color_16">09:00 至 22:00</span>
              </div>
              <div class="margin_top_10">
                <span class="font_color_14">详情：</span>
                <span class="font_color_16" style="line-height: 20px;">美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限美发套餐，男女不限，发长不限</span>
              </div>
            </flexbox-item>
          </flexbox>
          <p class="line"/>
        </div>
      </div>
    </div>
    <divider>我是有底线的</divider>
    <div style="height: 72px;"></div>
  </div>
</template>

<script>
  import {Flexbox, FlexboxItem, XButton, Divider} from 'vux'
  import HeaderTop from '../../components/HeaderTop/HeaderTop'

  export default {
    name: "Preferential",
    components: {
      Flexbox, FlexboxItem, XButton, HeaderTop, Divider
    },
    data() {
      return {
        showMore1: false,
        showMore2: false
      }
    },
    methods: {
      handShowMore(type) {
        this[type] = !this[type];
      }
    }
  }
</script>

<style scoped>
  .msite_content_shop_list {
    margin-top: 58px;
  }

  .msite_content_shop_tip {
    margin: 20px 20px 10px 20px;
    color: #ff6633;
    font-size: 14px;
  }

  .msite_content_shop {
    margin: 10px;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ffdccd;
  }

  .msite_content_shop_header {
    margin: 15px;
    color: #000;
    font-size: 16px;
  }

  .msite_content_shop_img {
    width: 120px;
    height: 115px;
    margin: 0 10px 10px 15px;
  }

  .margin_top__10 {
    margin-top: -10px;
  }

  .margin_top_10 {
    margin-top: 10px;
  }

  .font_color_14 {
    font-size: 14px;
    color: #a0a0a0;
  }

  .font_color_16 {
    font-size: 16px;
    color: #333;
  }

</style>
